package edu.njust.LabSystem.dao;

import edu.njust.LabSystem.entity.StudentAppointment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @param student 学生学号
 * @param experiment 实验号
 * @return
 */

public interface IStudentAppointment {
    Integer insertStudentAppointment(StudentAppointment studentAppointment);
    //void deleteStudentAppointment(@Param("student")String student, @Param("experiment")String experiment);
    void updateStudentAppointment(@Param("student")String student, @Param("experiment")String experiment);
    List<StudentAppointment> getStudentAppointmentByStudent(String student);
    public StudentAppointment getByStudentandExperiment(@Param("student")String student, @Param("experiment")String experiment);
    Integer deleteStudentAppointment(StudentAppointment studentAppointment);
    //void deleteStudentAppointment(String experiment);
     List<StudentAppointment> getStudentAppointmentByExperiment(String experiment);
}
